! .Xresources - My configs for urxvt and xclock
!
! Written in 2017 by Caleb Herbert <csh@bluehome.net>
!
! To the extent possible under law, the author(s) have dedicated all
! copyright and related and neighboring rights to this software to the
! public domain worldwide. This software is distributed without any
! warranty.
!
! You should have received a copy of the CC0 Public Domain Dedication
! along with this software. If not, see
! <http://creativecommons.org/publicdomain/zero/1.0/>.

#define SOLARIZED_LIGHT

#if !defined(SOLARIZED_LIGHT) && !defined(SOLARIZED_DARK)
#define SOLARIZED_DARK
#elif defined(SOLARIZED_LIGHT) && defined(SOLARIZED_DARK)
#undef SOLARIZED_LIGHT
#endif

! Define Solarized colors
#define S_base03    #002b36
#define S_base02    #073642
#define S_base01    #586e75
#define S_base00    #657b83
#define S_base0     #839496
#define S_base1     #93a1a1
#define S_base2     #eee8d5
#define S_base3     #fdf6e3

#define S_yellow    #b58900
#define S_orange    #cb4b16
#define S_red       #dc322f
#define S_magenta   #d33682
#define S_violet    #6c71c4
#define S_blue      #268bd2
#define S_cyan      #2aa198
#define S_green     #859900

#ifdef SOLARIZED_LIGHT
#define S_emph      S_base01
#define S_primary   S_base00
#define S_secondary S_base1
#define S_bgrnd_hi  S_base2
#define S_bgrnd     S_base3
#endif
#ifdef SOLARIZED_DARK
#define S_emph      S_base1
#define S_primary   S_base0
#define S_secondary S_base01
#define S_bgrnd_hi  S_base02
#define S_bgrnd     S_base03
#endif

! Settings for urxvt
! Font
URxvt.font: -*-terminus-medium-*-*-*-*-140-*-*-*-*-iso8859-1
! Disable scrollbar
URxvt.scrollBar: False
! Colors
URxvt.background: S_bgrnd
URxvt.foreground: S_primary


! ! Colors for xclock
! XClock*Background: #000000
! XClock*hourColor: #FFFFFF
! XClock*minuteColor: #FFFFFF
! XClock*secondColor: #FF7E00
! XClock*majorColor: #FFFFFF
! XClock*minorColor: #FF7E00

! Colors for xclock (Solarized)
XClock*Background:  S_bgrnd
XClock*hourColor:   S_primary
XClock*minuteColor: S_primary
XClock*secondColor: S_orange
XClock*majorColor:  S_primary
XClock*minorColor:  S_secondary
